package com.itita.weibo.model;

import java.util.Map;

public final class Task {
	
	private int taskID;// 任务编号
	
	private Map taskParam;// 任务参数
	
	public static final int TASK_USER_LOGIN = 6;// 用户登录验证
	
	public static final int TASK_GET_USER_INFO = 0;// 获取用户详细信息
	
	public static final int TASK_GET_USER_HOMETIMEINLINE = 1;// 获取用户首页博客
	
	public static final int TASK_GET_USER_IMAGE_ICON = 2;// 获取用户头象图片
	
	public static final int TASK_GET_USER_FRIEND = 3;// 获取用户所有好友
	
	public static final int TASK_GET_USER_HOMETIMEINLINE_MORE = 4;// 获取用户首页博客下一页
	
	public static final int TASK_NEW_WEIBO = 5;// 发表新微博
	
	public static final int TASK_NEW_WEIBO_PIC=7;//发表图片微博
	
	public static final int TASK_NEW_WEIBO_GPS=8;//发表GPS微博
	
	public static final int TASK_NEW_WEIBO_COMMENT = 9;// 发表微博评论
	
	public static final int TASK_GET_WEIBO_COMMENT = 10;//获取微博的评论列表
	
	public static final int TASK_GET_WEIBO_MESSAGE = 11;//获取微博的私信列表
	
	public static final int TASK_GET_WEIBO_IMAGE = 12; //获取微博中的图片
	
	public static final  int TASK_GET_WEIBO_COMMENT_LIST =13; //获取微博的评论列表
	
	public static final int TAST_GET_ATTENTION_INFO = 14;  //获取关注信息 

	public static final int TAST_GET_MORE_ATTENTION_INFO = 15;  //获取更多的关注信息 
	
	public static final int TASK_GET_USER_IMAGE_ICON_ATTENTION = 16;  //获取头像信息 
	
	public static final int TAST_GET_FANS_INFO = 17; //粉丝
	
	public static final int TAST_GET_MORE_FANS_INFO = 18; //粉丝
	
	public static final int TASK_GET_USER_IMAGE_ICON_FANS = 19; //粉丝头像
	
	public static final int TASK_USER_AUTO_LOGIN = 20; //   自动登录
	
	//离线从本地加载数据
	public static final int TASK_GET_USER_HOMETIMEINLINE_FROM_LOCAL = 21;

	//修改本地status的图片信息
	public static final int TASK_UPDATE_LOCAL_STATUS_IMAGE = 22; 
	
	public static final int TASK_UPDATE_LOCAL_USER_ICON = 23;
	
	public static final int TASK_ADD_MORE_STATUS_TO_LOCAL = 24;
	
	//------------------------------------罗洪州	
	public static final int TASK_GET_WEIBO_USER = 25;//获取用户微博列表
	
	public static final int TASK_GET_MORE_WEIBO_USER =26;//获取更多用户微博列表

	
	public static final int TASK_GET_MY_TOP=27;//我的话题
	
	public static final int TASK_GET_MY_TOP_MORE=28;//更多主题
	
	//树朾添加------------------------------------------------------------------
	//添加任务取消关注ID
	public static final int TASK_ATTEND_CANCEL = 29; //取消关注某个用户
	
	public static final int TASK_ATTEND_RESTORE = 30; //恢复关注某个用户
	
	public static final int TASK_GET_USER_FAVORITE = 31; //获取用户收藏
	
	public static final int TASK_GET_USER_IMAGE_ICON_FAVORITE = 32; //收藏用户头像
	//树朾添加------------------------------------------------------------------
	
	
	
	public static final int TASK_SAVE_IMAGE_TO_SD_CARD = 33; //存储图片到SD卡
	
	public static final int TASK_GET_ICON_OR_IMAGE = 34; //获取用户头像或者微博图片
	
	public static final int TASK_GET_USER_HOMETIMEINLINE_REFRESH = 34; //刷新微博
	
	
	public static final int TASK_GET_USER_RECOMMEND_INFO_HOME_INLINE_REFRESH = 35; //推荐信息
	
	public static final int TASK_GET_USER_RECOMMEND_INFO_HOME_INLINE = 36; //推荐信息
	
	public static final int TASK_GET_USER_RECOMMEND_INFO_HOME_INLINE_MORE = 37; //推荐信息
	
	
	
	public static final int TASK_GET_METION_ME = 38; //提到我的微博信息
	
	public static final int TASK_GET_COMM_USERT_ICON = 39; //提到我的微博信息
	
	public static final int TASK_GET_DIRECT_MSG_USERT_ICON = 40; //提到我的微博信息
	
	//获取推荐信息中的 ------->用户头像
	public static final int TASK_GET_USER_IMAGE_ICON_FOR_RECOMMOND_STATUS = 41;
	
	//获取推荐信息中的图片信息
	public static final int TASK_GET_USER_WEIBO_IMAGE_FOR_RECOMMOND_STATUS = 42;
	
	//获取提到我的微博信息中的用户头像
	public static final int TASK_GET_USER_IMAGE_ICON_FOR_METTION_ME = 43;
	
	//获取提到我的微博信息
	public static final int TASK_GET_USER_WEIBO_IMAGE_FOR_METTION_ME = 44;
	
	public static final int TASK_REPOST_WEIBO = 45;
	

	public static final int TASK_REFRESH_WEIBO = 46;
	
	//收藏该微博
	public static final int TASK_FAV_WEIBO = 47;
	
	public static final int TASK_DEL_ACCOUNT = 48;
	
	public static final int TASK_MODIFY_USER_LOGIN = 49;
	
	//加载收藏夹中的图片
	public static final int TASK_GET_USER_WEIBO_IMAGE_FOR_FAV_STATUS = 50;
	
	//收藏的更多微博信息
	public static final int TASK_GET_USER_FAVORITE_MORE = 51;
	
	//发送反馈意见
	public static final int TASK_NEW_SUGGESTION_TO_AUTHOR_WEIBO = 52;
	//取消粉丝关注
	public static final int TASK_FANS_CANCEL = 55;
	//获取粉丝关注
	public static final int TASK_FANS_RESTORE = 56;
	
	public static final int TASK_GET_WEIBO_IMAGE_FOR_VIEW_WEIBO_INFO = 53;
	
	public static final int TASK_GET_USER_ICON_4_USERINFO = 54;
	
	public static final int TASK_SAVE_LOIGINING_USER_BASE_INFO = 57;

	public static final int TASK_RECMMEND_CURR_APP = 58;
	
	//关注作者
	public static final int TASK_FLLOW_AUTHOR = 59;
	
	public Task(int id){
		this.taskID = id;
	}
	
	public Task(int id, Map param) {
		this.taskID = id;
		this.taskParam = param;
	}

	public int getTaskID() {
		return taskID;
	}

	public void setTaskID(int taskID) {
		this.taskID = taskID;
	}

	public Map getTaskParam() {
		return taskParam;
	}

	public void setTaskParam(Map taskParam) {
		this.taskParam = taskParam;
	}
}
